package com.ymtms.settlement.dao;

import com.ymtms.settlement.pojo.DriverBalanceMain;

import java.util.List;

public interface DriverBalanceMainMapper {
    int deleteByPrimaryKey(Integer dsmid);

    int insert(DriverBalanceMain record);

    int insertSelective(DriverBalanceMain record);

    DriverBalanceMain selectByPrimaryKey(Integer dsmid);

    int updateByPrimaryKeySelective(DriverBalanceMain record);

    int updateByPrimaryKey(DriverBalanceMain record);

    DriverBalanceMain selectByCode(String code);

    List<DriverBalanceMain> selectByState(Integer start,Integer end,String code);

    int selectCount(String code);

    int updateByDbid(Integer dbid);
}